<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Welcome-test</title>
    <script src="jquery-easyui-1.9.10/jquery.min.js"></script>
    <script src="jquery-easyui-1.9.10/jquery.easyui.min.js"></script>
    <link rel="stylesheet" href="jquery-easyui-1.9.10/themes/default/easyui.css">
    <link rel="stylesheet" href="jquery-easyui-1.9.10/themes/icon.css">
    <script src="jquery-easyui-1.9.10/locale/easyui-lang-zh_CN.js"></script>
    <script>
        $(function () {
            $('#btn').linkbutton({
                iconCls: 'icon-search',
                //点击事件
                onClick: function () {
                    alert('easyui');
                }
            });
        });
    </script>
</head>
<body>
<!--<a id="btn" href="#" onclick="javascript:alert('easyui')">easyui</a>-->
<a id="btn" href="#">easyui</a>
</body>
</html>